package com.burgeon.backend.EnterpriseWeChat.mappers;

import com.burgeon.backend.EnterpriseWeChat.entity.ShareTaskData;
import com.burgeon.backend.EnterpriseWeChat.entity.ShareTaskGoods;
import com.burgeon.backend.SHOPBACKEND.entity.Goods;

import java.util.List;


public interface EWShareTaskMapper {

    //获取分享任务数据
    ShareTaskData getEmpRate(String empId, String token, String modDate);
    //修改分享任务数据
    Integer updateShareDataByEmpId(String empId, String today, String todayRate,
                                   String token, String modDate, String count);
    //添加导购分享任务
    Integer addShareTaskData(String empId, String today, String todayRate,
                             String token, String modDate, String createDate, String count, String countTime);
    //新增
    Integer insertShareTask(String empId, String gid, String num, String shareDate, String token,
                            String salesVolume, String hits, String storeId, String empName, String storeName);

    Goods getGoodsByGId(String gid);

    //导购的任务列表
    List<ShareTaskGoods> getShareTaskList(String empId, String token, String shareDate);

    String getShareTaskByGid(String empId, String token, String gid, String shareDate);

    Integer getShareCount(String token);

    Integer updateShareData(String id, String modDate);


}
